﻿using System;
using System.Windows.Input;

namespace WickedFlame.VecDraw.VecApp
{
    public class MainMenuCustomCommands
    {
        static MainMenuCustomCommands()
        {
			//UnselectAll = new RoutedUICommand(
			//    "Unselect All", "UnselectAll", typeof(MainMenuCustomCommands),
			//    new InputGestureCollection { new KeyGesture(Key.Escape, ModifierKeys.None, "Esc") });

			//ZoomIn = new RoutedUICommand(
			//    "Zoom In", "ZoomIn", typeof(MainMenuCustomCommands),
			//    new InputGestureCollection { new KeyGesture(Key.Add, ModifierKeys.Control, "Ctrl++") });

			//ZoomOut = new RoutedUICommand(
			//    "Zoom Out", "ZoomOut", typeof(MainMenuCustomCommands),
			//    new InputGestureCollection { new KeyGesture(Key.Subtract, ModifierKeys.Control, "Ctrl+-") });

			//PasteCommand = new RoutedUICommand(
			//    "Paste", "Paste", typeof(MainMenuCustomCommands),
			//    new InputGestureCollection { new KeyGesture(Key.V, ModifierKeys.Control, "Ctrl+V") });

			//CopyCommand = new RoutedUICommand(
			//    "Copy", "Copy", typeof(MainMenuCustomCommands),
			//    new InputGestureCollection { new KeyGesture(Key.C, ModifierKeys.Control, "Ctrl+C") });

			//CutCommand = new RoutedUICommand(
			//    "Cut", "Cut", typeof(MainMenuCustomCommands),
			//    new InputGestureCollection { new KeyGesture(Key.X, ModifierKeys.Control, "Ctrl+X") });

            ToPolygonCommand = new RoutedUICommand(
				"Break to P_olygon"/*"Convert Shape to P_olygon"*/, "ToPolygon", typeof(MainMenuCustomCommands),
                new InputGestureCollection { new KeyGesture(Key.P, ModifierKeys.Control, "Ctrl+P") });

            CombineImagesCommand = new RoutedUICommand(
                "Combine Images", "CombineImages", typeof(MainMenuCustomCommands),
                new InputGestureCollection { new KeyGesture(Key.B, ModifierKeys.Control | ModifierKeys.Shift, "Ctrl+Shift+B") });

            ToImageCommand = new RoutedUICommand(
                "Convert to Images", "ConvertToImages", typeof(MainMenuCustomCommands),
                new InputGestureCollection { new KeyGesture(Key.B, ModifierKeys.Control, "Ctrl+B") });

			//SaveCommand = new RoutedUICommand(
			//    "Save", "Save", typeof(MainMenuCustomCommands),
			//    new InputGestureCollection { new KeyGesture(Key.S, ModifierKeys.Control, "Ctrl+S") });

			//SaveAsCommand = new RoutedUICommand(
			//    "Save As", "SaveAs", typeof(MainMenuCustomCommands),
			//    new InputGestureCollection { new KeyGesture(Key.S, ModifierKeys.Control | ModifierKeys.Shift, "Ctrl+Shift+S") });

			//NewCommand = new RoutedUICommand(
			//    "New", "New", typeof(MainMenuCustomCommands),
			//    new InputGestureCollection { new KeyGesture(Key.N, ModifierKeys.Control, "Ctrl+N") });

			//UndoCommand = new RoutedUICommand(
			//    "Undo", "Undo", typeof(MainMenuCustomCommands),
			//    new InputGestureCollection { new KeyGesture(Key.Z, ModifierKeys.Control, "Ctrl+Z") });

			//RedoCommand = new RoutedUICommand(
			//    "Redo", "Redo", typeof(MainMenuCustomCommands),
			//    new InputGestureCollection { new KeyGesture(Key.Y, ModifierKeys.Control, "Ctrl+Y") });

			//OpenCommand = new RoutedUICommand(
			//    "Open", "Open", typeof(MainMenuCustomCommands),
			//    new InputGestureCollection { new KeyGesture(Key.O, ModifierKeys.Control, "Ctrl+O") });

			//SnapToTrackerCommand = new RoutedUICommand(
			//    "Snap to Trackers", "SnapToTracker", typeof(MainMenuCustomCommands));

			//ShowGridCommand = new RoutedUICommand("Show Grid", "ShowGridCommand", typeof(MainMenuCustomCommands));

			ExitCommand = new RoutedUICommand("Show Grid", "ShowGridCommand", typeof(MainMenuCustomCommands));
                
        }

		//public static RoutedUICommand UnselectAll { get; private set; }

		//public static RoutedUICommand ZoomIn { get; private set; }

		//public static RoutedUICommand ZoomOut { get; private set; }

		//public static RoutedUICommand PasteCommand { get; private set; }

		//public static RoutedUICommand CopyCommand { get; private set; }

		//public static RoutedUICommand CutCommand { get; private set; }

        public static RoutedUICommand ToPolygonCommand { get; private set; }

        public static RoutedUICommand CombineImagesCommand { get; private set; }

        public static RoutedUICommand ToImageCommand { get; private set; }

		//public static RoutedUICommand SaveCommand { get; private set; }

		//public static RoutedUICommand SaveAsCommand { get; private set; }

		//public static RoutedUICommand NewCommand { get; private set; }

		//public static RoutedUICommand UndoCommand { get; private set; }

		//public static RoutedUICommand RedoCommand { get; private set; }

		//public static RoutedUICommand OpenCommand { get; private set; }

		//public static RoutedUICommand SnapToTrackerCommand { get; private set; }




		//public static RoutedUICommand ShowGridCommand { get; private set; }
		public static RoutedUICommand ExitCommand { get; private set; }

        
    }
}
